package cn.yitun.chat.yitunservermanagecore.general.manage.common.service.impl;

import cn.yitun.chat.yitunservercommonlib.crud.yitun.CrudServiceImpl;
import cn.yitun.chat.yitunservercommonlib.dataentity.dto.group.GroupHeadDataDto;
import cn.yitun.chat.yitunservercommonlib.dataentity.po.group.GroupHeadDataInfo;
import cn.yitun.chat.yitunservercommonlib.dataentity.vo.group.GroupHeadDataVo;
import cn.yitun.chat.yitunserverimbase.dao.group.GroupHeadDataDao;
import cn.yitun.chat.yitunservermanagecore.general.manage.common.service.GroupHeadDataService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;


@Service
public class GroupHeadDataServiceImpl
		extends CrudServiceImpl<GroupHeadDataDao, GroupHeadDataDto, GroupHeadDataInfo, GroupHeadDataVo>
		implements GroupHeadDataService {

	@Override
    @Transactional
	public int save(GroupHeadDataDto groupHeadData){
		return dao.save(groupHeadData);
	}
	
	@Override
    @Transactional
	public int update(GroupHeadDataDto groupHeadData){
		return dao.update(groupHeadData);
	}
	

	@Override
    @Transactional
	public int absDel(Long id){
		return dao.absDel(id);
	}

	@Override
    @Transactional
	public int batchAbsDel(Long[] ids){
		return dao.batchAbsDel(ids);
	}

}
